
include $(NETFILTER_TOP_SRC)/mk/Makefile.config

INCLUDE += -I$(NETFILTER_TOP_SRC)/include/common/
INCLUDE += -I$(NETFILTER_TOP_SRC)/include/diagnose/dentry/


C_FLAGS += $(INCLUDE)

EXTRA_CFLAGS += $(C_FLAGS)


KDIR = $(__KERNEL_DIR__)
PWD := $(shell pwd)

$(MOD)-objs := $(MOD_OBJ)
obj-m   := $(MOD).o

default:
	$(MAKE) -C $(KDIR) M=$(PWD)  modules
clean:
	$(RM) .*.cmd *.mod.c *.o *.ko -r .tmp*
	$(RM) -f Module.symvers modules.order Module.markers
install:
	make
	cp $(MOD).ko $(NETFILTER_TOP_SRC)/installing/modules/

